<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script>
			var regidcard=/^\d{17}[0-9X]$/;
			//liu.bangzhao@ap-tech.com.cn
			var regemail=/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/;
			//type="email"
			var e=window.prompt("email:");
			alert(regemail.test(e));
		</script>
	</head>
	<body>
	</body>
</html>
